Returns the cosine of the given angle.
Syntax |
|---|
|
result = Cos( value ) |
Parameters |
||
|---|---|---|
|
value |
The value (in radians) you want the cosine of. |
|
Return Value |
||
|---|---|---|
|
Result |
The cosine of value. |
|
Notes
The Cos function returns the cosine of the angle (in radians) passed to it. If the angle is in degrees, multiply it by PI/180 to convert it to radians.
Examples
This example uses the Cos function to return the cosine of an angle.
See Also
Acos function.